<?php


namespace app\article\controller;

use app\ApiRest;
use app\article\model\ArticleClassifyModel;
use think\App;


class WxAppArticleClassify extends ApiRest
{
    public function __construct(App $app)
    {
        parent::__construct($app);
    }

    public function getAll()
    {
        $model = new ArticleClassifyModel();
        $result = $model->getAll( [ 'uniacid' => $this->_uniacid, 'status' => 1 ] );
        return $this->success($result);
    }

}